import Vue from "vue";
// 挂载全局组件
// 顶部导航栏
import topNavigation from '@/components/top-navigation/top-navigation.vue'
// 分享弹窗
import sharePopup from '@/components/share-popup/share-popup'
// 开关
import pressureSwitch from '@/components/pressure-switch/pressure-switch'
// 缺省页
import defaultPage from '@/components/default-page/default-page'
// 数字键盘
import keypad from '@/components/keypad/keypad'
//  右侧字母列表 alphabetic-list
import alphabeticList from '@/components/alphabetic-list/alphabetic-list'
// 悬浮球
import floatingBall from '@/components/floating-ball/floating-ball'
// 搜索块
import searchBox from '@/components/search-box/search-box'
// 弹窗组件
import popupWindow from '@/components/popup-window/popup-window'
// 拨打电话弹窗
import callPhone from '@/components/call-phone/call-phone'
// 日历
import uniCalendar from '@/components/uni-calendar/uni-calendar'
// 拟态窗口
import mimicryBox from '@/components/mimicry-box/mimicry-box'

// 文件选择器
import tkiFileManager from'@/components/tki-file-manager/tki-file-manager'


// icon
import rightArrow from '@/components/icon/right-arrow/right-arrow' 

const mountComponents = {
    // install 是默认的方法。当外界在 use 这个组件的时候，就会调用本身的 install 方法，同时传一个 Vue 这个类的参数。
    
	install:function(){
		Vue.component('top-navigation', topNavigation);
		Vue.component('share-popup', sharePopup);
		Vue.component('pressure-switch', pressureSwitch);
		Vue.component('default-page', defaultPage);
		Vue.component('keypad', keypad);
		Vue.component('alphabetic-list', alphabeticList);
		Vue.component('right-arrow', rightArrow);
		Vue.component('floating-ball', floatingBall);
		Vue.component('search-box', searchBox);
		Vue.component('popup-window', popupWindow);
		Vue.component('call-phone', callPhone);
		Vue.component('uni-calendar', uniCalendar);
		Vue.component('tki-file-manager',tkiFileManager);
		Vue.component('mimicry-box',mimicryBox);
		
    },

}
Vue.prototype.$emojiList = [
				'😲',
				'🙃',
				'😋',
				'😗',
				'😛',
				'🤑',
				'🤓',
				'',
				'😎',
				'🤗',
				'🙄',
				'🤔',
				'😩',
				'😤',
				'🤐',
				'🤒',
				'😴',
				'😀',
				'😆',
				'😅',
				'😇',
				'🙂',
				'😙',
				'😟',
				'😕',
				'🙁',
				'️😫',
				'😶',
				'😐',
				'😑',
				'😯',
				'😦',
				'😧',
				'😮',
				'😬',
				'🤕',
				'😈',
				'🤣',
				'🤩',
				'🤤',
				'🤫',
				'🤪',
				'🧐',
				'🤬',
				'🤧',
				'🤭',
				'🤠',
				'🤯',
				'🤥',
				'🙈',
				'🌲',
				'🤝',
				'👅',
				'👁',
				'️🎊',
				'🧡',
				'🖤',
				'💕',
				'💖',
				'🎊',
				'🚎',
				'🛴',
				'🚆',
				'🚘'
			]
export default mountComponents